package com.design.alex.decorator;

/**
 * @ClassName : ShapeDecorator
 * @Description : todo
 * @Author : Alex
 * @Date: 2020-02-17 14:08
 */
public abstract class ShapeDecorator implements Shape {
    protected Shape decoratorShape;

    public ShapeDecorator(Shape decoratorShape) {
        this.decoratorShape = decoratorShape;
    }

    @Override
    public void draw() {
        decoratorShape.draw();
    }
}
